<?php /* Smarty version 2.6.26, created on 2014-01-21 14:58:18
         compiled from draw.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'substr', 'draw.html', 30, false),)), $this); ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<div class="main fn-clear">
	<div class="my-title">
    	<h1>提现记录<span><a href="index.php?c=index&a=cashout">提现</a>|<a href="index.php?c=index&a=recharge">充值</a></span></h1>
        <form id="record_form">
        <p>交易时间：<input name="trade_time_start" type="text" id="trade_time_start">&nbsp;&nbsp;到&nbsp;&nbsp;<input name="trade_time_end" type="text" id="trade_time_end">&nbsp;&nbsp;<input type="hidden" id="record_type" value="draw"><input class="search" id="record_search" name="" type="button" value="查询">&nbsp;&nbsp;&nbsp;&nbsp;提现：<span class="pay-out"><?php echo $this->_tpl_vars['draw_total']; ?>
</span>&nbsp;元</p></form>
        <div class="action">可用余额：<em><?php echo $this->_tpl_vars['user_info']['vcount']; ?>
</em>元</div>
    </div>
    <div class="list-box">
    	<table>
            <tbody>
            	<tr class="title">
                	<td class="time">创建时间</td>
                	<td class="number">流水号</td>
                	<td class="amount">金额</td>
                	<td class="date">手续费</td>
                	<td class="payment">资金渠道</td>
                	<td class="from">状态</td>
					<td class="from"></td>
                </tr>
                <?php $_from = $this->_tpl_vars['rs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['draw']):
?>
            	<tr>
                	<td class="time"><?php echo $this->_tpl_vars['draw']['add_time']; ?>
</td>
                	<td class="number"><?php echo $this->_tpl_vars['draw']['serial_number']; ?>
</td>
                	<td class="amount"><span class="pay-out"><?php echo $this->_tpl_vars['draw']['money']; ?>
</span></td>
                	<td class="date"><?php echo $this->_tpl_vars['draw']['poundage']; ?>
</td>
                	<td class="payment"><?php echo $this->_tpl_vars['draw']['bank_name']; ?>
<br><span class="card">***<?php echo ((is_array($_tmp=$this->_tpl_vars['draw']['card_number'])) ? $this->_run_mod_handler('substr', true, $_tmp, "-4,0") : substr($_tmp, "-4,0")); ?>
</span></td>
                	<td class="from"><?php if ($this->_tpl_vars['draw']['status'] == 0): ?>待审核<?php elseif ($this->_tpl_vars['draw']['status'] == 1): ?>审核通过<?php elseif ($this->_tpl_vars['draw']['status'] == 2): ?>已打款<?php elseif ($this->_tpl_vars['draw']['status'] == 3): ?>审核不通过<?php endif; ?></td>
					<td class="from"><?php if ($this->_tpl_vars['draw']['status'] == 3): ?>原因：<?php echo $this->_tpl_vars['draw']['note']; ?>
<?php endif; ?></td>
                </tr>
                <?php endforeach; endif; unset($_from); ?>
            </tbody>
            <tfoot>
            	<tr>
                	<td colspan="6">
                	<?php echo $this->_tpl_vars['page_str']; ?>

                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>